Transferring relationship rows with a C# method

Hi 

I have a Request for quotation item type with an relationship to Parts. As well as a Purchase Order Item Type also with a relationship to Parts  This allowing users to select the parts that the want on the RFQ and POR. I then created a method that transfers all the form fields from the RFQ to the POR. Now i would like it to include the relationship rows as well (meaning the part rows). So when you trigger the method from the RFQ it should fill in the POR form as well as the Parts relationship. 

Does anyone perhaps have sample code on transferring relationship items to a new forms/item types relationship?

Thanks! 

Wian