copyFile: Copies a file safely
Description
Copies a file safely by first copying to a temporary file and then renaming that
file.Usage
## S3 method for class 'default':
copyFile(srcPathname, destPathname, overwrite=FALSE, ..., verbose=FALSE)
Arguments
srcPathname
The source file to be copied.
destPathname
The destination file to be created.
overwrite
If TRUE
, an existing destination file is overwritten. Value
- Returns
TRUE
if the file was copied succesfully.