Changed iteration over directories to simple copy