title: Copy entire contents of a directory to another using php
body: <p>I tried to copy the entire contents of the directory to another location using </p>
  
  <pre><code>copy ("old_location/*.*","new_location/");
  </code></pre>
  
  <p>but it says it cannot find stream, true <code>*.*</code> is not found.</p>
  
  <p>Any other way</p>
  
  <p>Thanks
  Dave</p>