Overwrite file at destination if it exists.
Whether to copy directories recursively.
If a file exists at destination, append a number to the file’s basename so it’s unique.
Optional
filterFunction to filter copied files/directories.
Return true to copy the item, false to ignore it.
When ignoring a directory, all of its contents will be skipped as well.
Optional
flag
Optional configuration for NodeFiles.copy.
See
node:fs.cpSync
Since
0.2.0