Bug fix for the generic_fns.residue.copy() function.
The contents of res_to_cont is now checked for, to see if it is empty.
Authored by: bugman 2007-11-28
Parent: [r4096]
Child: [r4098]