Referring to the lugs on the line side of the 200 amp main breaker of the first panel in regards to current carrying wires (or I guess you could say the lugs on the load side of the meter). That being said, if the line side of that breaker is fed with a 4/0 wire, then the 10 tap foot rule will not be needed if you continue to feed with 4/0. You could run any distance past those lugs if I interpreting what is going on correctly, I may not be.
After further reading, sounds like he is just asking about ground wire. Per code , looks like #4 will work (250.66) to the second panel terminated from the ground bar in the first panel.
And now that I think about it more this second panel would also be service rated (not a sub panel) so I would think you would combine the ground and neutral in this second panel?