Hi, I am A. Stevens here to help with your question!
Could you please let me know what the exact model of phone your Sony and Samsung devices are?
Sony xperia st27i & Samsung Galaxy s4 mini
There is an app called "Smart Switch" available for free in the Google Play store.
You would simply need to download this app on both your old Sony phone and your new Samsung.
You can then follow the instructions in the app for a Android to Android data transfer. You can transfer Contacts, Calendar, Pictures, Music, Videos, Apps, and more.
I hope I was able to help you today.
If you are satisfied with my answer, rating my answer with positive feedback with the smiley faces below would be greatly appreciated. If you do have any additional questions please do feel free to post them here. Thank you for using Just Answer! Have a Great Day!