code: public IPv6Address replace(int startIndex, int endIndex, IPv6Address replacement, int replacementIndex) {
  		return checkIdentity(getSection().replace(startIndex, endIndex, replacement.getSection(), replacementIndex, replacementIndex + (endIndex - startIndex)));
  	}
docs: Replaces segments starting from startIndex and ending before endIndex with the same number of segments starting at replacementStartIndex from the replacement section
  
  @param startIndex
  @param endIndex
  @param replacement
  @param replacementIndex
  @throws IndexOutOfBoundsException
  @return