FileCopy()
Copies the specified on-disk or in-memory source file to the specified destination file.
FileCopy( source=any, destination=any );
Returns: void
Argument | Description |
---|---|
source
any,
required
|
path to copy. |
destination
any,
required
|
Pathname of the destination file. |
Examples
fileCopy("path/to/my/file.md", "new/location/for/file.md")
See also
- File handling
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)