Strangler-fig pattern
Replacing a system gradually by routing one function at a time from the old implementation to a new one until the old one can be switched off.
See it in context
COBOL refactoring and incremental modernization: Strangler fig, APIs first and event-driven integration