This example shows how easy it is to copy an element in the common case where you want styles to be copied and the element to be written to the destination model.
In this example, we are given a list of elements to copy. These elements could come from several different sources, and some of these sources could be accessed by reference attachments. ElementCopyContext::DoCopy takes care of transforming each source element from its source model to the destination model. It also takes care of copying the supporting levels, colors, and styles.