There's a way to ensure that they won't get wiped.
Open itunes before plugging it in. Go to the "edit" bar on the top, then select "Preferences". When the box opens, look for the "devices" bar at the top, and click on that. You'll see a few options with boxes beside them. One says "Prevent...