Synchronously copies a file or directory recursively from source to destination path

Example

FileSystem = require("FuseJS/FileSystem");

FileSystem.writeTextToFileSync("to-be-copied.txt", "hello world");
FileSystem.copySync("to-be-copied.txt", "destination-reached.txt");

Location

Namespace
Fuse.FileSystem
Package
Fuse.FileSystem 1.11.2