title: Android - copy files between internal storage
body: <p>I would like to copy the files (image files captured from the camera app) between internal storage, from /data/data/[my app]/photo to another folder within the internal storage.</p>
  
  <p>As you can see in the screen shot below, I have successfully changed the permission of both directories into '777' via the below code:</p>
  
  <pre><code>Runtime.getRuntime().exec("su");  
  Runtime.getRuntime().exec("chmod 777 /data/data/[my app]/photo", null, new File("/data/data/[my app]/photo"));
  </code></pre>
  
  <p>So, I use the similar code to change the permission for the files in the "photo" folder but nothing happens. </p>
  
  <pre><code>Runtime.getRuntime().exec("su");  
  Runtime.getRuntime().exec("chmod 777 /data/data/[my app]/photo/2_20130406_143344");
  </code></pre>
  
  <p>It would be very grateful if someone give me some direction as it has bothered me for the entire weekend.</p>
  
  <p>Thanks a lot in advance! </p>
  
  <p><img src="https://i.stack.imgur.com/VzBnL.jpg" alt="enter image description here"></p>