Of course, they differ in text, but in terms of their meaning, they are exactly the same. In fact, these are stylistically different two versions of the same prayer.
So can Eil Molei replace Yizkor and vice versa? For example, Western Ashkenazim do not have Eil Molei.