Fixed minor issue with copy().