Fix createCopy feature.