This one can be tough. First step is to reach him while avoiding the blue rays, spin attack him when you get close. In the second part of the battle green rays are added- these go over Crash so no need to move there but the platforms will sink after 10 seconds or so- keep moving.
The third stage is basically the same as the second one except he uses a more powerful attack, he shakes the platforms causing you to fall off so jump
carefully. Finally the fourth and hardest one, he never stops using his rays and shaking so be on your guard. The best way to do it is to crouch and then jump when bubbles appear, then jump again once the blue energy comes.
It will take some careful timing on your part but it can be done.