Copying directory from jar to the local folder
<p>I have Jar file which includes besides classes - folder with files.
When i run a jar file on the other machine - the aim is to copy files from jar to some folder in that machine.
Structure of jar:</p>

<pre><code>/somepackage/
/MyFolder/
</code></pre>

<p>in code i do something like this:</p>

<p><code>copyDirectory("MyFolder", System.getProperty("user.home") + "\\myFolder");</code></p>

<p>it works only when i start program, but not outside jar.</p>

<p>Please help me to do it.</p>
