docs: public void setValues(int[] values, int size)
    {
      if (size < 0 || size > values.length) {
        throw new IAE("Size[%d] should be between 0 and %d", size, values.length);
      }
      ensureSize(size);
      System.arraycopy(values, 0, expansion, 0, size);
      this.size = size;
    }