Modular segmented hyperbranched copolymers