Bug fix for the residue.copy() user function.
In the test for 'pipe_to' being None, the 'pipe_from' argument was being checked instead!
Authored by: bugman 2007-11-20
Parent: [r3685]
Child: [r3687]