code: public static byte[] splice (byte[] values, int offset)
      {
          int length = (values == null) ? 0 : values.length - offset;
          return splice(values, offset, length);
      }
docs: Creates and returns a new array sized to fit and populated with the
  subset of values from indexes <code>0</code> to <code>offset -
  1</code> (inclusive) in the supplied array.
  
  @param values the array of values to splice.
  @param offset the index within the <code>values</code> array after
  which all subsequent values are to be removed.  This must be a
  valid index within the <code>values</code> array.