---
title: "copyFile"
canonical: "https://support.appfire.com/space/CSOAP/1493044518/copyFile"
format: markdown
---
> Macro (aura-html)

See also: [CSV Client Actions](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/1493044331)

> Macro (details)
> 
> | **Description** | Copy text data from the source file. Use the file parameter to direct output to a file. When append is used, data will be appended to the target file. If requested, find and replace logic will be applied to the source data before processing. Also, replacement variables will automatically be replaced with their value. |
> | --- | --- |
> | **Required Parameters** | [sourceFile](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/1493044733) |
> | **Optional Parameters** | [findReplace](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454887), [findReplaceRegex](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68457861), [file](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68455055), [append](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68454814), [encoding](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/68458746) |
> | **Type** | [Create](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/1493044622/CSV+Client+Action+Types#CSVClientActionTypes-Create) |
> | **Category** | [File](https://appfire.atlassian.net/wiki/spaces/CSOAP/pages/1493044604/CSV+Client+Action+Categories#CSVClientActionCategories-File) |
> | **Output Formats** |  |
> | **Replacement Variables** |  |
> | **Since Version** | 9.3 |
> | **Examples** |  |

## Related How To's

> Macro (cql-query)