copy environment in :D mac