i'm tring to copy one file by one directory to another. i'm using the "cp" function. this is the code
Process process = Runtime.getRuntime().exec("cp "+path+" "+destinationFolder);
this code work well on many device but in other i get this error
error running exec(cp, /data/app/myApp.apk, mnt/sdcard/destinationFolder.
working directory null, envinroment null. caused by ioException permission denied why i'm getting this error and how can i solve? any help is