The total volume of water expands when it goes from solid (ice) to liquid (water)

But as I said before, it would not flood the planet even if all the ice on both poles and greenland melted. It would just chew up a bit of the coastline.