this.mTargetFile = targetFile;
this.progressHandler = progressHandler;
thread = new Thread(this);
thread.start();
}
<BUG>private void copyFile(BufferedInputStream bufferedInputStream, BufferedOutputStream bufferedOutputStream) {
int count;</BUG>
byte[] buffer = new byte[8192];
<BUG>try {
do {</BUG>
count = bufferedInputStream.read(buffer);

this.mTargetFile = targetFile;
this.progressHandler = progressHandler;
thread = new Thread(this);
thread.start();
}
private void copyFile(BufferedInputStream bufferedInputStream, FileChannel outChannel)
throws IOException {
MappedByteBuffer byteBuffer = outChannel.map(FileChannel.MapMode.READ_WRITE, 0,
mSourceFile.getSize());
int count;
byte[] buffer = new byte[8192];
do {
count = bufferedInputStream.read(buffer);
