LOL at the cray cray part. The biggest problem with Sonic is he runs extremely slow. Someone ran the math on his "super speed". And if you take it in correlation to his surroundings, he's not very fast. Secondly, Megaman is versatile as hell. Essentially he can absorb any power and use it as his own. Megaman can control time, shoot snakes, create black holes, and all sorts of other wonky shit. Unless you use comic book Sonic, original videogame Sonic is weak as fuck.Let's not get cray cray. This isn't a Goku vs Superman argument.
Sonic has sonic speed. Megaman would be cut to ribbons by Sonic before he could charge a megabuster.