copying pub dir files works