// copy all content elements (source and target should have same content class)
// include headline and ignore referenced elements
targetPage.copyContentElementValuesFrom(sourcePage, true, false);
// copy image filename of sourcePage image element templateElementName to image element with same name of targetPage
targetPage.copyImageValueFrom("templateElementName", sourcePage);
// copy image filename of sourcePage image element named templateElementName to image element with same name of targetPage
sourcePage.copyImageValueTo("templateElementName", targetPage);
// copy image filename from sourcePage image element named sourceTemplateElementName to targetElement (an image element of
// targetPage)
ImageElement targetImageElement = targetPage.getImageElement("targetTemplateElementName");