Fixed the copying of user data in positions to happen after the entire struct is copied.