title: How to copy page from one PDF document to another and add margin
body: <p>Can someone please give me example of copying pages with iText 7 from one PDF to another.</p>
  
  <p>I need to copy page from one PDF to another and leave some space on the top for the barcode ... but every time I copy page with:</p>
  
  <pre><code>srcDoc.copyPagesTo(Integer.valueOf(tBrStr), Integer.valueOf(tBrStr), pdf)
  </code></pre>
  
  <p>The copied page fits over whole page and I cannot put margin on the top of page for barcode.</p>