testing in copier function