Source system will be decomissioned after it moved to target.
In that case take a full backup of the system.
Take an export of the Java stack.
First setup ABAP on a new server as Java will be using the ABAP for UME.
Setup Java on a new server.
Regards
RB