Home > Documentation > Syntax > Functions > Filecopy
Copy a file. Relative paths are valid.
Files are not copied in preview mode.
Definition
filecopy(arg1, arg2)
Parameters:
- arg1 – string
The source file. - arg2 – string
The destination file name to copy to.
Returns:
- Null
Eg:
filecopy("source.txt", "..\dest.txt")
filecopy("c:\source.txt", "c:\dest.txt")

Leave a comment