title: How to copy the sample images from the drawable folder to the sdcard folder, programmaticaly?
body: <p>I have pictures/images in my drawable folder and I want to copy all of it in my sdcard folder with that same quality and details? If I have for example this.</p>
  
  <pre><code>Integer[] mThumbIds = {
          R.drawable.pic_1, R.drawable.pic_2,
          R.drawable.pic_3, R.drawable.pic_4,
          R.drawable.pic_5, R.drawable.pic_6,
          R.drawable.pic_7
  };
  </code></pre>
  
  <p>And then my app creates an own directory in sdcard, like this:</p>
  
  <pre><code>String newFolder = "/myFolder2";
  String extStorageDirectory = Environment.getExternalStorageDirectory().toString();
  File myNewFolder = new File(extStorageDirectory + newFolder);
  myNewFolder.mkdir();
  </code></pre>
  
  <p>How can I achieve to transfer all those pictures in drawable to the created folder in sdcard with the same quality and details?</p>