Select target (A), then source (B). B's settings will be copied to A.
How Replace Mode Works
Select a deleted gallery as target (A), then pick an active gallery as source (B). B's content and settings will be copied to A, while A's original link stays the same. This lets you reuse an existing link with new content.