Moving photos from old Pixel to new Android without losing timestamp info for Photos app

I used my older Pixel phone to create photos/videos that total 20GB which are stored locally (not synced from phone to cloud storage).

I’m interested in migrating from this older Pixel 6 to a newer phone (Pixel or some other Android phone).

Is it possible to transfer all local photos/videos which appear in my old phone’s Photo app (its gallery) to a new phone — but in a way that maintains original dates/times when viewed in the new phone’s Gallery app? I.e., they should all display in the new phone’s Photos app the same way that photos taken on the new phone would appear in its Photos app.

Has someone found success doing this by connecting phone to PC and copying all DCIM/Camera files from the old phone to the same folder in the new phone, or is there some other method for true transplantation?

P.S. Please don’t tell me to use cloud storage to back up / sync as I’m only doing things locally.

UPDATE: Paul’s comment below indicates that a Pixel to Pixel transfer should do this (and more) excellently. Plus, I just tested moving photos back and forth between my current Pixel and Windows Explorer. Not only did moving photos back to the Pixel result in the Photos app correctly “placing” the photos chronologically as per their date/time, but it even did so for a photo from a non-Pixel phone (and with a different file name system than PXL_2026…) as well as a test JPEG I just created in Paint. Though I wasn’t sure whether copying photos would result in a new “date created” interpreted by Google’s Photos app as the “date” that would display in its camera “folder,” my brief testing appears to debunk this notion. While I wonder whether all this would hold true for transferring from a Pixel to a non-Pixel Android, my old Pixel has been so reliable that I don’t think even an SD card option could entice me to upgrade to a non-Pixel phone.

Thurrott