Here's a great corner-by-corner analysis of the BMW M2 vs M4 on the Hockenheimring (short track), compiled by DeDe.
These stats come from the fastest lap of each car as driven by Sport Auto. The driver was Uwe Sener. The top values are for the M4 and bottom ones for the M2.
We can see how well the cars compare in terms of corner speed, lateral G forces, and top speed at the end of the straight. The two M coupes show themselves to be fairly evenly matched on the short track.