Metamorphosis.
If you want to replace the entire unit including it's stats, just use "Unit - Replace unit" in the trigger editor.
If you want to replace the entire unit including it's stats, just use "Unit - Replace unit" in the trigger editor.