code: public void add(byte[] values) {
          ensureCapacity(size + values.length);
          for (byte element : values) {
              this.add(element);
          }
      }
docs: Adds all the elements in the given array to the array list.
  @param values The values to add to the array list.