Making a genetically identical copy of DNA or of an organism.