Use Clipboard to copy and paste text in different formats, including plain text, and formatted text (HTML).
To copy, add text formats to a DataPackage, and then place DataPackage to Clipboard. To paste, get DataPackageView from Clipboard, and retrieve the content of the desired text format from it.
To handle local image files in the formatted text (such as the one below), use resourceMap collection.
DataPackage class is also used to share content between applications. See the Share SDK sample for more information.

Text:
HTML: