Function:

COPYFILE <existing file>,<new file>,<overwrite>

Purpose:

    This function will take a complete filepath and filename and copy it to another location with the

    same name or a different name. You can also overwrite an existing file.

 

Parameters:

    <existing file>  - The complete path and filename of the file you want to copy (Source).

    <new file>        - The complete path and filename of where you want to copy the file and the name.

    <overwrite>     -  True if you want to overwrite, False if you don't want to overwrite.

 

Return Values:

    Returns a value of 1 if successful

    Returns a value of 0 if failed