Addition of methyl groups to dna. dna methyltransferases (dna methylases) perform this reaction using s-adenosylmethionine as the methyl group donor.