How can I copy BPMN elements from one bpmn xml to another?

Hi, I have two bpmn XMLs. I want to be able to copy elements AND diagram shapes from one XML to another. How can I achieve this with camunda-bpmn-model API? Can someone please help??

you can refer this link to get started.