Equilibrium and dynamic aspects of end-attached diblock and triblock copolymer chains