Question on sims 2

Okay... so I wind up getting a surprise computer upgrade by my husband to help me relax during my fight with cancer. Just got diagnosed.. so can Sims 2 run on windows 11 and how do I get my cc from one drive to my new computer.