title: Batch file, replace all files in directory
body: <p>I need to create batch file, that should do:
  1) If file in directory exists - delete it
  2) replace files from directory to destination directory 
  3) delete source </p>
  
  <p>This is my code: </p>
  
  <pre><code>IF EXIST C:\Work\testbatch\1.txt del C:\Work\testbatch\1.txt
  
  MOVE C:\Work\testbatch C:\Work\destbatch  if you need copy folder
  </code></pre>
  
  <p>I've find how to copy all folder, but I need to replace just files to another folder and delete source folder. Can anyone help?</p>