Added copy() method. Fix CLI