You can use the Python library "PyPDF2" to create a PDF file containing all the images. First, install the library by running the following command in the terminal:
```
pip install PyPDF2
```
Once the library is installed, you can use the following script to copy the images and convert them into a single PDF file:
```python
from PyPDF2 import PdfWriter
from PIL import Image
import glob
# Create a PDF writer object
pdf_writer = PdfWriter()
# Get a list of all image files in a directory
image_files = glob.glob("path/to/images/*.jpg")
# Iterate over each image file
for image_file in image_files:
# Open the image file
image = Image.open(image_file)
# Convert the image to PDF page
pdf_page = image.convert("RGB")
# Add the PDF page to the PDF writer object
pdf_writer.add_page(pdf_page)
# Save the PDF file
with open("path/to/output.pdf", "wb") as pdf_file:
pdf_writer.write(pdf_file)
```
Make sure to replace "path/to/images/*.jpg" with the actual path to your image files, and "path/to/output.pdf" with the desired path and filename for the output PDF file.
This script uses the "glob" module to get a list of image files in a directory. It then opens each image file using the "PIL" (Python Imaging Library) module, converts it to a PDF page, and adds that page to the PDF writer object. Finally, it saves the PDF file.