Copenhagen vows to rebuild fire-hit stock exchange