docs: protected void appendCopiesAfter(RoaringArray sa, short beforeStart) {
      int startLocation = sa.getIndex(beforeStart);
      if (startLocation >= 0) {
        startLocation++;
      } else {
        startLocation = -startLocation - 1;
      }
      extendArray(sa.size - startLocation);
  
      for (int i = startLocation; i < sa.size; ++i) {
        this.keys[this.size] = sa.keys[i];
        this.values[this.size] = sa.values[i].clone();
        this.size++;
      }
    }