@Test
public void copyTest() throws IOException {

    MatpowerModel model = MatpowerModelFactory.create9();
    Path matpowerBinCase = tmpDir.resolve(model.getCaseName() + ".mat");
    MatpowerWriter.write(model, matpowerBinCase);
    new MatpowerImporter().copy(new FileDataSource(tmpDir, model.getCaseName()),
        new FileDataSource(tmpDir, "copy"));
    assertTrue(Files.exists(tmpDir.resolve("copy.mat")));
}