Binding of ligands by copolymer globules: Mesoscopic simulation