code: protected void overwriteOldCluster(ClusKernel other) {
          this.totalN = other.totalN;
          this.N = other.N;
          //AuxiliaryFunctions.overwriteDoubleArray(this.LS, other.LS);
          //AuxiliaryFunctions.overwriteDoubleArray(this.SS, other.SS);
          assert (LS.length == other.LS.length);
          System.arraycopy(other.LS, 0, LS, 0, LS.length);
          assert (SS.length == other.SS.length);
          System.arraycopy(other.SS, 0, SS, 0, SS.length);
      }
docs: Overwrites the LS, SS and weightedN in this cluster to the values of the
  given cluster but adds N and classCount of the given cluster to this one.
  This function is useful when the weight of an entry becomes to small, and
  we want to forget the information of the old points.
  @param other The cluster that should overwrite the information.