Your best bet is moving your data to a portable USB drive, and then transferring it to the new xbox. I made the switch from a S to an X, and used this method. A quick google search will give you instructions on how to do so.
Also, the S does not game in 4k, only plays media in 4k. You need to get the One X if you want…