Runtime.getRuntime.exec() problem with copying files
<p>I want to copy a file using this :</p>

<pre><code>Process process = Runtime.getRuntime()
     .exec("cmd.exe /c  copy  C:\test1\toto.PDF  C:\test2\toto.PDF");
</code></pre>

<p>When i execute the command manually, it works, but when i tried to do it from my IDE, nothing happened.
can someone tell me what is wrong with this please.</p>

<p>thanks.</p>
