Called to copy the user defined data.
This function copies the user-defined data. Override it in a derive class to copy a specific data.