Technology is always a double edged sword. If ever the technology is realised, I think there would be a LOT of cautious steps in place to address the issues that you have mentioned. After all, it is our consciousness that we are talking about which is perhaps one of the most important aspects of our 'self'.
Thanks for reading :)