CopyModel
In case the targetModel is empty a new model will be created.
The owlInstance array (values) and it's cardinality (card) can be empty, in case they are
non-empty the values are expected to contain owlInstance handles referencing in the source model
after a successful copy the values will be adjusted into values referencing the copied owl instances
in the new model. the list of values does not have to be complete or even unique and can even be empty.
sourceModel is not allowed to be empty, targetModel however can be empty or even equal to the source model.
The return value is the targetModel or in case this value was empty the newly created model.
Syntax
// // Strong typing definition // OwlModel CopyModel( OwlModel sourceModel, OwlModel targetModel, int64_t * values, int64_t card ); // // Weak typing definition // int64_t __declspec(dllexport) __stdcall CopyModel( int64_t sourceModel, int64_t targetModel, int64_t * values, int64_t card );