@Test
public void copy() throws IOException {

    InputStream is = new ByteArrayInputStream("BASE".getBytes());
    ByteArrayOutputStream os = new ByteArrayOutputStream();
    IOUtil.copy(is, os);
    assertEquals("BASE", os.toString());
}