Disclosed is a method for packaging an LED by a thermoplastic copolymer. The copolymer is polymerized by 100 parts by weight of an acrylic ester, 0.1 to 30 parts by weight of a hydrogen bond monomer, and 0.1 to 70 parts by weight of a bulky monomer. The copolymer has transparency greater than 90%, thermal resistance greater than 130° C., and moisture absorption less than 0.5 wt %, such that the copolymer may be applied as packaging material for a light emitting device.