Copy files from assets folder to apps private /data/data folder and chmod?
<p>I have a file named flash_image in my apps asset folder.</p>

<p>I am wanting to copy this to my apps private data folder, and make it executable (my app will be running with root permissions, if this helps).</p>

<p>So, I want the file to be located at <code>/data/data/com.liamwli.flash/flash_image</code> and have that file executable.</p>

<p>I have tried many methods I found online, but I cannot get it to work.</p>

<p>How can I go about doing this?</p>
