title: How to copy content and formatting between Google Docs?
body: <p>I need to copy the content of a Google Document, and append it to another Document. If I use something like this:</p>
  
  <p>newDoc.getBody().appendParagraph(template.getText());</p>
  
  <p>...I get the text, but lose the formatting that was in my original file. (<strong>Bold</strong>, <em>Italic</em>, etc.)</p>
  
  <p>How can I copy the contents and formatting to the new document? Is it possible to assign everything to one variable, and copy / paste it to the new document?</p>