1// Does NOT delete files that exist in targetDir but do not exist in srcDir
2fse.copySync(srcDir, targetDir, {overwrite: true});
3
4// Does delete files that exist in targetDir but do not exist in srcDir
5// Use if you want targetDir === srcDir
6fse.moveSync(srcDir, targetDir, {overwrite: true});