added copying of data in inodes; tested