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
|
edit
path to copy. |
|
destination
any,
required
|
edit
Pathname of the destination file. |
Examples
editfileCopy("path/to/my/file.md", "new/location/for/file.md")
See also
- File handling
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)