private static void copyWithMD5Check(
      final File sourceFile, final File targetDir, final File targetFile) throws IOException {
    if (!haveSameMD5(sourceFile, targetFile)) {
      final String renameFile = copyFileRenameWithMD5(sourceFile, targetDir);
      LOGGER.info(COPY_FILE_MESSAGE, sourceFile.getName(), renameFile, targetDir.getAbsolutePath());
    }
  }
Transfer bytes to human-readable string. Copy from <a
href="https://stackoverflow.com/a/3758880">stackoverflow</a>.
iotdb-core/node-commons/src/main/java/org/apache/iotdb/commons/utils/FileUtils.java