How to copy the statement from one routine to another routine by python code?

in my project, there are many points at one routine and some statements (motion, path, or signal) are not needed any more, i want to copy the needed VC_STATEMENT from the old routine to new routine. is it possible?