Just chose the hat you want to replace and put the two folders inside into your "team fortress 2/tf" folder