gold prices end lower; copper bucks trend to post gains