Splitting Env into Dest env and Source env in arrays