# File/Folder Copy

Copies a specified file or folder on terminal.

Action available for the following operating systems:

![](https://3821468174-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LrTlA1suFa5N48x_83N%2F-MAlPVpH3WRwBy16c7JY%2F-MAlQBZuuTnc6hyzKSVQ%2Fimage.png?alt=media\&token=5c9534b7-ca05-4ac4-b408-2207cd5a5295)

### Parameters

* **Source File/Folder** *\<string> -* The full path to the file or folder that the user wants to copy. Don't use wilchars(\*.?) in this parameter.
* **Target File/Folder** \<string> - The full path to the destination file or folder. Don't use wilchars(\*.?) in this parameter.
* **Overwrite?** *\<unquoted string> -* This parameter defines if the user wants to replace the file or folder if the target file or folder already exists. The possible values for this parameter are: *Yes*, *No* or *dynamic*.

{% hint style="info" %}
In the parameter **Target File/Folder** please consider that: If the user specify a different name, the file will be renamed; If the user specify a different folder, the folder will be moved; if the user specify a different file name and folder, the file will be moved and renamed; If the folder exists in the Target File/Folder path, the File/Folder is not moved.
{% endhint %}

{% hint style="info" %}
If the parameter **Source File/Folder** ends with a '\\' is treated as a Folder, otherwise is treated as a File.

Note also that Android uses URI (Uniform resource identifier) to identify system resources (whether it's a page of text, a video or sound clip, a still or animated image or a program). This means that Kalipso doesn't know the file name itself. For that, the "File/Folder Copy" function must always contain the file name in target parameter.
{% endhint %}

{% hint style="info" %}
The **Source File** can be an URI that can be opened as an InputStream (Android only)
{% endhint %}
