file.copy

# file.copy Makes a copy of a file
Usage
    file.copy [-o] <source> <destination>
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 be already existing: 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.
Syntax Specification
    file.copy [-o] <source:string> <destination:string>
See also
file.rename, $file.exists

Index, Commands

KVIrc 4.2.0.6190 Documentation
Generated by builduser at Mon Jan 23 19:28:34 2017