Copy a directory on the local filesystem, this function does not recurse through subdirectories.
See [CopyDirRecursive].