This error usually means there is some sort of typo.
However, I don't think the the information above is enough to diagnose the problem.
At a bare minimum, I don't think arguments like num.boots belong in the optimx.args list. At least that's not how the documentation examples for copulaCorrection
are run.
If you're able to repose this question with a reprex that replicates the error, it'd be much easier for folks to help out.
On errors related to messages like "unexpected X in:", I really like the community wiki answer to a related discussion here: