title: MoveFileEx with MOVEFILE_COPY_ALLOWED flag set
body: <p>So the msdn page for MoveFileEx states that for MOVEFILE_COPY_ALLOWED:</p>
  
  <p>If the file is to be moved to a different volume, the function simulates the move by using the CopyFile and DeleteFile functions.
  If the file is successfully copied to a different volume and the original file is unable to be deleted, the function succeeds leaving the source file intact.</p>
  
  <p>Now my question is firstly, when it says volume i assume that just means a different location on your hdd?
  Following that assumption, If i make a file that is read only. Then i call MoveFileEx with the MOVEFILE_COPY_ALLOWED flag set, should it not just move the file using CopyFile. then when it tries to delete the file it should fail, because DeleteFile cannot delete read only files.</p>
  
  <p>Im doing the above except that the file is deleting from the old location. My only thought was that volume means something different to what i say above.</p>