copyfile

Copy a file from one location to another within a website.
[copyfile from=folder_one/file_one.txt&to=folder_two/file_two.txt]

Parameters

ParameterDescription
fromThe path to where the existing file is, including the file's name
toThe path to where the file is to be written/copied to, including the file's existing or new name
securev8.6.5+ (optional) T (true) or F (false). If left unspecified then false is assumed.

[copyfile] can be used to copy any type of file.