shallow copy and xattr