added copy attr function
drwxr-xr-x - ir