Lucee Function Reference

filecopy()

Copies the specified on-disk or in-memory source file to the specified destination file. File Attributes are applied to destination file, but read and write are set to true.

Example

filecopy(any source,any destination):void

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
source any  Yes Path to source file to copy.  
destination any  Yes Path to the destination file.