Copy/paste table cells/rows with formatting in Writer

I could swear that I have done this in the past but it seems to be impossible now. I’m trying to copy rows from a table with their formatting and paste them into blank rows. Basically, I want to completely overwrite the rows with the ones I copied, formatting and all. But all I can seem to do is copy the content which is then pasted without changing the formatting of the target rows. If I paste them outside the table they paste exactly as formatted, so clearly it should be possible for them to do so within the table but as far as I can tell Writer has no way of doing this which is extremely frustrating.