title: Symfony Gaufrette create a copy of an image
body: <p>I'm using a Symfony Gaufrette for storing images in a filesystem. It works fine when I store an image first time. But I also need to create a copy of the image after it was uploaded to the filesystem. Is there any way to do it? </p>
  
  <p>I use this function for writing:</p>
  
  <pre><code>$filesystem-&gt;write($imagepath, file_get_contents($answer-&gt;get('imageObject')-&gt;getData()));
  </code></pre>