Fix copy destination for resource contents