COPY

Purpose: Copies a file

Format:     COPY    source file     destination file

Notes:      The  COPY  statement will copy the file specified by the  source file  parameter to the file specified by the  destination file  parameter.  An error will occur if the file can not be copied.

Example:

getfile $srcfile “Select a file to copy from”
getfile $destfile “Select the filename to copy to”

copy $srcfile $destfile

exit

See Also:  RENAME   DELETE