Most likely, neither would actually hurt the other. Sonic and Coco (Crash Bandicoot's sister) come from different franchises, and there's no canonical reason for them to be enemies.
So while fans love to imagine crossover battles, in reality these two would probably just get along rather than fight.