docs: function copyCordovaSrc(sourceLib, platformInfo) {
      // Copy the cordova.js file to platforms/<platform>/platform_www/
      // The www dir is nuked on each prepare so we keep cordova.js in platform_www
      shell.mkdir('-p', platformInfo.locations.platformWww);
      shell.cp('-f', path.join(platformInfo.locations.www, 'cordova.js'),
          path.join(platformInfo.locations.platformWww, 'cordova.js'));
  
      // Copy cordova-js-src directory into platform_www directory.
      // We need these files to build cordova.js if using browserify method.
      var cordovaJsSrcPath = path.resolve(sourceLib, platformInfo.locations.cordovaJsSrc);
  
      //only exists for platforms that have shipped cordova-js-src directory
      if(fs.existsSync(cordovaJsSrcPath)) {
          shell.cp('-rf', cordovaJsSrcPath, platformInfo.locations.platformWww);
      }
  }