Just to clarify here is how the script works:
I added an option to delete all constraints from the target bones before doing the copy and also added waynes code to run the reset stretch to constraints.
This is a dumb over worked solution for a very specific problem but might come in handy in the future, maybe we could add the creation of the bones to the script so it would be a single click copy of the finger rig.