Lucee Function Reference

filecopy()

Copies the specified on-disk or in-memory source file to the specified destination file.

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 copy.  
destination any  Yes Pathname of the destination file.