Photoshop Beta 25.4.0 Release.
Right clicking on layer and selecting "duplicate" then setting the destination to a different document results in a "Could not complete the Duplicate Layer command because of a program error.
However, the duplication does occur correctly.
![cesarcintron_0-1703291161918.png cesarcintron_0-1703291161918.png](https://community.adobe.com/t5/image/serverpage/image-id/637860iAD98075CF8FA0EC1/image-size/medium/is-moderation-mode/true?v=v2&px=400)