title: Copy picked image through Intent.ACTION_PICK to a file
body: <p>My code allows the user to pick an image using Intent.ACTION_PICK on click of a button:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>public void onClick(View v) {
      Intent photoPickerIntent = new Intent(Intent.ACTION_PICK);
      photoPickerIntent.setType("image/*");
      startActivityForResult(photoPickerIntent, SELECT_PHOTO);  
     }</code></pre>
  </div>
  </div>
  </p>
  
  <p>How can I copy this selected image to a file that has been created?</p>