how do i copy the player's rotation data on to an xp orb (/data modify isn't working for me??)

i have been trying for half an hour now. idk why this isn't working
Continue to help post