Synthesis of copolymers containing acetals