[javaIO] - copy characters