I have an EDI DELFOR that I am mapping to multiple documents (of the same type). Basically what I do is create a “stub document” with all the common information, then, inside a loop, I copy that to a temporary document via mapping, populate the specific info, save it to a list of outgoing docs, and drop the temporary doc. However, whatever I do to the temporary document also is done to the original “stub.” So on the second time through the loop, whatever I do to the new temp is done to the stub AND to the document in the outgoing list. I know in Java if you say a = b; a becomes just a pointer to the b variable, and so changing one changes both, whereas a == b; would be a more explicit value match. Has anyone ever faced this issue, or know how to truly copy a document, and not create a pointer to it?