Added support for ignore directory to copy