I up voted you showed so wonderfully that forcing an fallible human to correctly specify the same thing twice can result in errors.
But I don't think errors are the biggest issue. The biggest issue is that this kind of stuff should be getting out of our way so we can focus on other things.
I was mentally substituting args[i] for array[i]
Talk about code blindness. What a colossal blunder.