[#189] Use IOUtils to copy byte array