code: public void removeElements(final int from, final int to) {
          CharArrays.ensureFromTo(size, from, to);
          System.arraycopy(a, to, a, from, size - to);
          size -= (to - from);
      }
docs: Removes elements of this type-specific list using optimized system calls.
  
  @param from the start index (inclusive).
  @param to   the end index (exclusive).