title: Docker: How to copy a file from one folder in a container to another?
body: <p>I want to copy my compiled war file to tomcat deployment folder in a Docker container. As <code>COPY</code> and <code>ADD</code> deals with moving files from host to container, I tried </p>
  
  <pre><code>RUN mv /tmp/projects/myproject/target/myproject.war /usr/local/tomcat/webapps/ 
  </code></pre>
  
  <p>as a modification to the answer for <a href="https://stackoverflow.com/questions/41732234/how-can-i-copy-a-file-from-one-folder-to-another-folder-within-a-container-in-do" title="this question">this question</a>. But I am getting the error</p>
  
  <pre><code>mv: cannot stat ΓÇÿ/tmp/projects/myproject/target/myproject.warΓÇÖ: No such file or directory
  </code></pre>
  
  <p>How can I copy from one folder to another in the same container?</p>