title: Why do I end up with an empty file when using "cp" or "mv"?
body: <p>I am trying to overwrite an existing file with another. 
  I am replacing a file that exists by doing the following:</p>
  
  <pre><code>cp -f /tmp/workspace.xml &gt; /system/TEST/workspace.xml 
  </code></pre>
  
  <p>The new file created is unfortunately empty and does not contain anything from the original file.</p>
  
  <p>I've also tried the following but I get the same result. </p>
  
  <pre><code>mv -f /tmp/workspace.xml &gt; /system/TEST/workspace.xml
  </code></pre>
  
  <p>Why is that?</p>