code: public void set(IntIntSortedVector other) {
          this.used = other.used;
          this.indices = IntArrays.copyOf(other.indices);
          this.values = IntArrays.copyOf(other.values);
      }
docs: Sets all values in this vector to those in the other vector.