gold reverses course, closes higher; copper rallies