The absolute source path.
The absolute destination path.
Optionaloptions: CopyOptions
Optional copy options.
Options for copy.
Optionaloverwrite?: booleanWhether to overwrite the destination file if it already exists.
When false, existing entries are skipped while the rest of the source is
still copied (cp -rn style merge).
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).With
{ overwrite: false }existing entries are skipped individually while the rest of the source is still copied (similar tocp -rn).