improve parameter copying

A problem was occurring when copying parameters that are generics placeholders.  The error message would look something like this...

The class java.lang.Object refers to the class java.lang.Object and uses 1 parameters, but the referred class takes no parameters