Added copy support for mac