node module to synchronously and recursively merge files from one folder to another
var mergedirs = require('merge-dirs');
// copy folder/a into folder/b
mergedirs('/folder/a', '/folder/b');
$ npm install merge-dirs
MIT
node module to synchronously and recursively merge files from one folder to another
JavaScript