Difference between copy and move_uploaded_file
<blockquote>
  <p>what is difference between copy() and move_uploaded_file()</p>
</blockquote>

<p>I think both the functions perform same operations then whats the difference?</p>

<pre class="lang-php prettyprint-override"><code>copy ( $_FILES['file']['tmp_name'], 
     "C:/Apache/htdocs/" . $_FILES['file']['name'] ) 


move_uploaded_file($_FILES['file']['tmp_name'], 
     "C:/Apache/htdocs/" . $_FILES['file']['name'])
</code></pre>
