added support to copy directories wholesale with @venus-resource annotation