private void copyToTempFile(File patchFile) { if (patchFile.getAbsolutePath().equals(tempPatchFile.getAbsolutePath())) { return; } TinkerLog.w( TAG, "try copy file: %s to %s", patchFile.getAbsolutePath(), tempPatchFile.getAbsolutePath()); try { SharePatchFileUtil.copyFileUsingStream(patchFile, tempPatchFile); } catch (IOException e) { } }