code: function syncMod(src, dest, mode) {
      if (mode !== false) {
        fs.chmodSync(dest, (mode === true) ? fs.lstatSync(src).mode : mode);
      }
    }
docs: Copy file mode from source to destination.
  @param {string} src
  @param {string} dest
  @param {boolean|number} mode