Copies the source file into the target.
If COPYFILE_EXCL is specified the operation will fail if the target exists.
COPYFILE_EXCL
If COPYFILE_FICLONE is specified it will attempt to create a reflink. If copy-on-write is not supported, a fallback copy mechanism is used.
COPYFILE_FICLONE
If COPYFILE_FICLONE_FORCE is specified it will attempt to create a reflink. If copy-on-write is not supported, an error is thrown.
COPYFILE_FICLONE_FORCE
Source path.
Target path.
Optional
Specify the mode for copying the file.
Generated using TypeDoc
Copies the source file into the target.
If
COPYFILE_EXCL
is specified the operation will fail if the target exists.If
COPYFILE_FICLONE
is specified it will attempt to create a reflink. If copy-on-write is not supported, a fallback copy mechanism is used.If
COPYFILE_FICLONE_FORCE
is specified it will attempt to create a reflink. If copy-on-write is not supported, an error is thrown.