Copy given dependency to app folder to avoid apps to fetch and rebuild it
every time it's required as dependency.
Most dependencies are common and can be reused.
function (name) {
    var destPath = configHelpers.modulePath(name);
    var sourcePath = pathExtra.join(__dirname, '..', 'node_modules', name);

    if (!fs.existsSync(destPath)) {
      fs.copySync(sourcePath, destPath);
    }
  }