Was missing filename from cp function