A method of treatment of viral infection in a subject comprising administering to the subject a copolymer comprising an acrolein derived segment or a polyacrolein oligomer segment and a polyalkylene glycol oligomer segment, the copolymer having a molecular weight of no more than 1500 Daltons.