The copolymers showed a change of non-linearity sign when the film was doped and results showed that the copolymers have a positive (self-focusing) and negative (self-defocusing) nonlinear optical properties which make them interesting for application as optoelectronic devices.