Tweaked some of the debugging copy.
Print io.Copy errors for debugging.