code: public void copyTo(RelatedItemAdditionalProperties copyTo) {
          copyTo.numberOfProperties = numberOfProperties;
          RelatedItemAdditionalProperty[] copyToProperties = copyTo.additionalProperties;
          RelatedItemAdditionalProperty[] srcToProperties = this.additionalProperties;
          for(int i=0;i<numberOfProperties;i++) {
              srcToProperties[i].copyTo(copyToProperties[i]);
          }
      }
docs: Copies the populated properties from the current object to the given object
  The provided (copyTo) properties object (the one that is having properties copied to it),
  should have same or more number of maximum properties
  
  @param copyTo