are you looking to know how to pull the values out of a domino document and put them into another?
Heres some rough SSJS
doc = database.getDocumentByUNID(viewScope.doc1);
var field1 = doc.getItemValueString("Body");
var field2 = doc.getItemValueIntereger("Number");
doc2 = database.getDocumentByUNID(viewScope.doc2);
doc2.setValue("Body", field1 );
doc2.setValue("Number",
field2);