Gold prices gain as China reports weaker prices, copper down