os.Path.copy
Creates a new file by copying an existing file.
Syntax
os.Path.copy(
fromPath STRING,
toPath STRING )
RETURNS INTEGER
- fromPath is the name of the file to copy.
- toPath is the destination name of the copied file.
Usage
The function returns TRUE
if the file has been successfully copied,
FALSE
otherwise.