copyProperties method

void copyProperties (dynamic dest dynamic src)
  • Copies content of one object to another object
    • by recursively reading all properties from source object
    • and then recursively writing them to destination object.
      • dest a destination object to write properties to.
      • src a source object to read properties from