The man moves forward in relation to the boat——but he stays in the same place in relation to the white square on the shore.
This is an instance of Relativity of Motion.