Help!! What movie is this?

I am trying to find this movie.

This is what I remember.

5 friends. Boat capsized. Forget how. They want to make a swim for it. One guy stays back. The other go. I believe a couple get eaten by a shark. One uses a log to float on.

Any clues?