A novel photoactive copolymer and its use as orientation layers for liquid crystals and in the construction of unstructured and structured optical elements and multilayer systems. The copolymer contains side chains incorporating photoreactive groups and simultaneously side chains of general formula (I)