Copper climbed to a fresh record and approached $12,000 a ton at the tail end of a momentous year dominated by trade turmoil, tight supply and optimism for long-term demand.