procedure VarDataCopy(var Dest: TVarData; const Source: TVarData);
void __fastcall VarDataCopy(TVarData &Dest, const TVarData &Source);
Copies the data from one built-in Variant type to another.
Call VarDataCopy from the implementation of a TCustomVariantType descendant to clear the data from a destination Variant and then copy the TVarData record from another Variant. VarDataCopy can handle data that is stored indirectly (when the VType field includes varByRef). Do not use VarDataCopy as the entire implementation of the Copy method, as this will lead to a circular reference.
Dest is the TVarData record that receives the copy.
Source is the TVarData record to be copied.