I want to copy directories from one variable to directories from another one but without loop.
from="fromdir1 fromdir2"
to="todir1 todir2"
I mean fromdir1 to todir1, fromdir2 to todir2.
I think it can be done with xargs but I don't know how.