Changed copy to be a recursive copy.