in reply to Copy source code?

You want to change the parameters of a function without changing the inner workings of same function? E.g. have some default values?

Then simply define a new function with uses the parameters as you want them, have it juggle the parameters as you need and have it call the original function …