The raft sinks on the side of the boy. The raft will also drift towards the shore as the boy walks toward it.
When the boy walks on the raft ,his weight works down. As Newton's third law,water effects same force on the raft that is why the other side of the raft rises.
The raft will move toward the shore in reaction to the boy's action of walking in the other direction.