Nucleobase-functionalized conjugated polymer for detection of copper(II).