Gold may rise to a record before the end of the year as investors seek to hedge against inflation. Cocoa climbed to a two-week high because a weaker dollar boosts the attractiveness of commodity trading in New York. Copper halted rally after stockpiles rose and a tumbled consumer borrowing in U.S caused concern about the economic recovery.