os.Path.copy

Creates a new file by copying an existing file.

Syntax

os.Path.copy(
   source STRING,
   dest STRING )
  RETURNING result INTEGER
  1. source is the name of the file to copy.
  2. dest is the destination name of the copied file.

Usage

The function TRUE if the file has been successfully copied, FALSE otherwise.