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