China has agreed to train the Cambodian army and to supply Phnom Penh with new weapons, starting with 12 helicopters, officials said.