Molecular doping of conjugated polymers represents an important strategy for improving organic electronic devices. However, the widely reported low efficiency of doping remains a crucial limitation to obtain high performance. Here we investigate how charge transfer between dopant and donor-acceptor copolymers is affected by the spatial arrangement of the dopant molecule with respect to the copolymer repeat unit. We p-dope a donor-acceptor copolymer and probe its charge-sensitive molecular vibrations in films by infrared spectroscopy. We find that, compared with a related homopolymer, a four times higher dopant/polymer molar ratio is needed to observe signatures of charges. By DFT methods, we simulate the vibrational spectra, moving the dopant along the copolymer backbone and finding that efficient charge transfer occurs only when the dopant is close to the donor moiety. Our results show that the donor-acceptor structure poses an obstacle to efficient doping, with the acceptor moiety being inactive for p-type doping.