copyobj
Copy SimBiology object and its children
Syntax
Description
copiedObj = copyobj(modelObj)modelObj and returns the
        copied model object copiedObj. The function also sets the
          Parent property of the copied model object to the root object.
copiedObj = copyobj(object,parentObj)Parent property of the copied object to
          parentObj.  
One exception is that if both object and
          parentObj are compartments, the Owner property
        of the copied object is set to parentObj instead.
copiedObj = copyobj(object,parentObj,conflictOption)