use io.CopyN