title: PHP Copy function with update
body: <p>I am using php copy() function to copy a php doc into a xml doc and it works fine:</p>
  
  <pre><code>echo copy("copy.php","destination.xml");
  </code></pre>
  
  <p>But i need to update the destination xml doc with an extra line</p>
  
  <pre><code>&lt;title&gt;test&lt;/title&gt;
  </code></pre>
  
  <p>Can someone help me?</p>