A near-infrared fluorescent probe for detecting copper(II) with high selectivity and sensitivity and its biological imaging applications.