51% attack allows you to undo a recent transaction (as if it never happened). It does not allow you to change the destination of a transaction or arbitrarily move bitcoins around.