Exporters use USD (which they receive from overseas buyers) to buy CNY. Those USD add to China's foreign currency reserves.