I dont know how I can compare mirage 2000 with mirage 2000.
But for the Mig29, It's only defined and considerable edge over the mirage 2000 is a close range engagement where its superior performance, turn rate etc. would play a role. (Plus point for IRST)
And it could go either way for a BVR engagement tbh.
Mirage has better radar but the Mig29 has the better missile**
** though i dont know how much better astra is or if it is better at all compared to MICA. Its tricky since MICA is one of the few missiles to be both heat seeking and radar homing at once but Astra outranges it by 30-40 km.
Otherwise for anything else Mirage 2000 is simply a better platform.
It has considerably more payload and hardpoints (nearly 50% more), has better air to ground weapons, somewhat better targeting pod and is actually optimised for that role. Since its a multirole fighter rather than the air superiority role for the Mig29.
Indeed, this isn't just my opinion since during the kargil war Mig29s were used for escorting the Mirage 2000s performing air to ground missions.