Engine swap question




got a 04 E500 wagon 4 Matic that im pulling the motor on.
Question is: is the engine the same as a 2000 CL500?
if not can parts be swapped over? I have a spare motor
Engine isnt out of the e500 yet but its getting there, just want to know how much extra work is required.
Thanks


