@Override
  public UfsFileStatus copy() {
    return new UfsFileStatus(this);
  }
@Test
  public void copy() {
    Random random = new Random();
    String contentHash = CommonUtils.randomAlphaNumString(10);
    long contentLength = random.nextLong();
    long lastModifiedTimeMs = random.nextLong();
    short mode = 077;
    long blockSize = random.nextLong();

    UfsFileStatus statusToCopy =
        new UfsFileStatus("name", contentHash, contentLength, lastModifiedTimeMs, "owner", "group",
            mode, blockSize);
    UfsFileStatus status = new UfsFileStatus(statusToCopy);
    assertEquals(statusToCopy, status);
  }