Yes, I agree your version works as well. Not really sure why they included a second object "t". I guess they wanted to show you that it could be copied to more than one variable.
Re-read the question. Are you supposed to copy one structure variable to another or are you supposed to exchange two structure variables? The sample solution exchanges s1.age and s2.age.