use scala-io to copy stream
fix mistaken document