Target path. Its parent directory has to exist already.
OptionaloverwriteReplace files that already exist at the target. Otherwise they are left as they are and the call still succeeds.
File or directory to copy; a directory is copied with everything below it.
Parameters for
file.copy. Copy a file or a whole directory tree, blocking until the copy is done. A source that does not exist fails withNOT_FOUND. Preferfile.copyAsyncfor anything large.