There are a few types of replication is viruses. All viruses use the hosts replication systems to create the proteins contained in and around the virus. Some are Latent viruses, some are lytic viruses. Some use restriction enzymes to incorporate themselves into the hosts DNA. This question is very broad, run a Google search for more specific information.