How to copy file from app package path to sdcard?
<p>i want copy pdf file  from  application path(/data/data/package name) to sdcard.for that i have prepared following ,</p>

<pre><code>try {
        source = new FileInputStream(sourceFile).getChannel();
        destination = new FileOutputStream(destFile).getChannel();
        destination.transferFrom(source, 0, source.size());
    }
    finally {
        if(source != null) {
            source.close();
        }
        if(destination != null) {
            destination.close();
        }
    }
</code></pre>

<p>it is not working .PLease help.</p>
