public static File createTestCheckpointDirectory(String storePath, String checkpointId) throws IOException {
    File checkpointDir = new File(storePath + "-" + checkpointId);
    FileUtils.copyDirectory(new File(storePath), checkpointDir);
    return checkpointDir;
  }
Test util methods to work with local dirs, {@link DirDiff}s and {@link DirIndex}es.
samza-core/src/test/java/org/apache/samza/storage/blobstore/util/BlobStoreTestUtil.java