Duplicating mechanism for peptide chain and nucleic acid synthesis