myiphone is malfunctioning. i want to restore it. does restoring the phone wipe all the data out of the phone?