title: PHP copying files from one location to the other
body: <p>not working with mp3 files ,,, working fine with text and image files</p>
  
  <pre><code>if(isset($_POST["submit"]))
      {   
  
          echo "&lt;br&gt;&lt;br&gt;user file uploading&lt;/br&gt;&lt;/br&gt;";
          echo "Name : &lt;font color='green'&gt;".$_FILES["userfile"]["name"]."&lt;/font&gt;";
          echo "&lt;br&gt;&lt;br&gt;";
          echo "Type :&lt;font color='green'&gt;".$_FILES['userfile']['type']."&lt;/font&gt;";
          echo "&lt;br&gt;&lt;br&gt;";
          echo "Size :&lt;font color='green'&gt;".($_FILES['userfile']['size']/1024)."&lt;/font&gt;";
          echo "&lt;br&gt;&lt;br&gt;";
  
          if (file_exists("G:/" . $_FILES["userfile"]["name"])) 
              {
                  echo "&lt;font color='red'&gt;".$_FILES["userfile"]["name"] . " already exists.                   &lt;/font&gt;";
              } 
          else {
              move_uploaded_file($_FILES["userfile"]["tmp_name"],"G:/" . $_FILES["userfile"]["name"]);
              echo "&lt;font color='blue'&gt;Stored in: " . "G:/" . $_FILES["userfile"]["name"]."&lt;/font&gt;";
          }
  
      }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/Q4ykm.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/ZKSf7.png" alt="enter image description here"></p>