code: function copy_job(jobName, newJobName, modifyFunction, customParams, callback) {
        var _doArgs35 = doArgs(arguments, ['string', 'string', 'function', ['object', {}], 'function']);
  
        var _doArgs36 = _slicedToArray(_doArgs35, 5);
  
        jobName = _doArgs36[0];
        newJobName = _doArgs36[1];
        modifyFunction = _doArgs36[2];
        customParams = _doArgs36[3];
        callback = _doArgs36[4];
  
  
        var self = this;
  
        this.get_config_xml(jobName, customParams, function (error, data) {
          if (error) {
            callback(error, data);
            return;
          }
  
          // Modify the data
          data = modifyFunction(data);
  
          self.create_job(newJobName, data, customParams, callback);
        });
      }
docs: Copies a job and allows you to pass in a function to modify the configuration of the job you would like to copy