The absolute source path.
The absolute destination path.
Optionaloptions: CopyOptionsOptional copy options.
Options for copy.
Optionaloverwrite?: booleanWhether to overwrite the destination file if it already exists.
A promise that resolves to an AsyncVoidIOResult indicating success or failure.
move for moving instead of copying
Copies a file or directory from one location to another, similar to
cp -r. Both source and destination must be of the same type (both files or both directories).