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