Files

Copy file

Copy a file or directory on the computer.

Returns a message with the destination path and the number of bytes copied.

Parameters#

source_pathstringrequired

Absolute path of the file or directory to copy.

dest_pathstringrequired

Absolute destination path on the target.