Bug fix for the residue.copy() user function.
The pipe_to argument can also be None.
Authored by: bugman 2007-11-20
Parent: [r3677]
Child: [r3679]