title: Save information beside JAR on runtime
body: <p>Since some time I've been busy learning Java and I spent most of that time working with Spigot (Minecraft) plugins.<br />
  I love how to plugins are able to copy a YAML file from resources to a folder, so a user is able to edit those YAML files.</p>
  <p>Now I trying to find information on how I would accomplish the same effect but with just a regular JAR application, but I find it hard to find any information on how to do so.</p>
  <p>Basicly what I wanna do is shipping an YAML with the JAR and once the application ran once, it needs to place it outside the JAR so it will use that file to get the content out of it.</p>
  <p>Is this easy to achieve and which packages would be best to use for this purpose?</p>
  <p>Thank you in advance!</p>