A method for imparting resistance to staining to a substrate comprising contacting the substrate with a copolymer comprising the monomers of Formula