file.copy
Makes a copy of a file
Usage
file.copy [-o] <source:string> <destination:string>
Description
Makes a copy of the <source> file as <destination>.
If the [-o] switch is used, the <destination> file is overwritten, if already exists.
With no [-o] switch, this command does not overwrite files.
The destination path must already exist: if you want to ensure this, use file.mkdir first.
The paths (<source> and <destination>) are adjusted according to the system that KVIrc is running on so you don't have to bother about portability: it should be automatically guaranteed. Just use UNIX style paths for them.
Switches
-o | --overwrite
Overwrites the file even if it already exists.
See also
file.rename, $file.exists

Index, Commands