Polarization switching at the nanoscale in ferroelectric copolymer thin films