Yes this can be done with proper cloning software. Various software tools are publicly available on the internet to help you with the cloning process.