pushRange = function pushRange(startRow, endRow, startCol, endCol) {
        newRanges.push({
          startRow: startRow,
          endRow: endRow,
          startCol: startCol,
          endCol: endCol
        });
      }
Modifies the copyable range, accordingly to the provided config.

@private
@param {Array} ranges
@returns {Array}