default value in copy function for image slice