[ClH:1].[N:2]([CH2:10][CH:11]([C:13](=[NH:15])N)[CH3:12])=NCC(C(=N)N)C.[CH3:16][C:17]([CH3:19])=O>>[ClH:1].[CH2:10]([NH2:2])[CH:11]=[CH2:12].[ClH:1].[CH2:19]([NH:15][CH2:13][CH:11]=[CH2:12])[CH:17]=[CH2:16]The monomers prepared above were mixed together at a molar ratio shown in Table 1. After heating the monomer mixture to 60° C., 2.5% by weight (based on the monomer mixture) of azobis(2-amidinopropane) hydrochloride was added, and polymerization was carried out for 24 hours. After the reaction, the solution was added into acetone to form a precipitate, and the precipitate was collected by filtration with a glass filter and dried under reduced pressure. Thus, a copolymer of monoallylamine hydrochloride and diallylamine hydrochloride was obtained.