Synchronously copies the file or directory at the source path to the destination
path. If the source path is a directory, only its contents will be copied, not the
directory itself. If the source path is a file, the destination path cannot be a
directory.
If options.filter is provided, only entries for which the filter returns true
will be copied.
Synchronously copies the file or directory at the source path to the destination path. If the source path is a directory, only its contents will be copied, not the directory itself. If the source path is a file, the destination path cannot be a directory.
If
options.filteris provided, only entries for which the filter returnstruewill be copied.