Transfer auto reject list and message block list

Is there anyway to transfer my call and message block lists from my S6 without entering them manually?

This is a good question, I remember looking some time ago, but couldn't find a way, so I ended up just taking screen shots and manually adding them back. I am curious to see if there is a way as well