new dir::copy method