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