Added: If you can’t duplicate the positions you might need to get a seatpost with more, or less, setback. Obviously changing the stem length.
You have to understand there are differences in geometry between the two bikes that you have to overcome.
John