@Test
public void testCopyFile06() throws Exception {

    // 3GBのファイルを作成
    create3GBFile("/testdata", "test06.txt");
    // テストデータ設定
    URL srcUrl = this.getClass().getResource("/testdata/test06.txt");
    String srcFile = srcUrl.getPath();
    String newFile = srcFile.replaceAll("test06\\.txt", "test06A\\.txt");
    File newFileCheck = new File(newFile);
    if (newFileCheck.exists()) {
        newFileCheck.delete();
    }
    // テスト実施
    FastFileUtility.copyFile(srcFile, newFile);
    // 結果検証
    try (FileInputStream fis1 = new FileInputStream(srcFile);
            BufferedInputStream expected = new BufferedInputStream(fis1);
            FileInputStream fis2 = new FileInputStream(newFile);
            BufferedInputStream actual = new BufferedInputStream(fis2);) {
        int ch = expected.read();
        while (-1 != ch) {
            final int ch2 = actual.read();
            if (ch != ch2) {
                fail();
            }
            ch = expected.read();
        }
        final int ch2 = actual.read();
        assertEquals(-1, ch2);
    }
}