data2ENV function

data2ENV: function used to move objects from one environment to another.