Yep that. Plus the Mulberry harbours were designed specifically to be sunk to act as harbours and breakwaters, for which concrete is actually fairly well suited. We have other ways of building harbours during peacetime that don't involve sailing them across a large body of water though