If you have backed them up on google or samsung account, it should be automatic. Once you enter your account info you should get something asking if you want to restore backup. When I get a new phone, all my calendar info & contacts are transferred. To edit them I have to go into google.