I have a mask over a layer:
I am trying to select and area and I press Cmd C:
When I pasted via Cmd V, I am seeing the layer pasted without the mask applied:
As you can see, the mask associated with the layer was not copied.
Is there a way to copy both the layer and the mask within the selected area?
Altand drag the mask to the new layer. — Or.. You could select the mask by clicking the thumbnail, then make a new layer via copy
Cmd+J+ Invert selection
Deleteto remove contents past the selection. This way the new layer gets to keep the mask, but it doesn't cut off the excess automatically. I guess a third option and in some ways better than the last one is after making a new layer via copy, put it in a group and add a layer mask. Because then everything past the document is hidden.
Cmd+Gand then drag the layer mask on the group... so now every layer inside the group honors that one mask. So if you do
Layer > New > New layer via cut(basically Cmd+C & Cmd+V), the mask won't be an issue because assuming you don't do any rearranging before or after, any copy of the original layer will sit inside the group that has the mask... And instead of cutting you might want to mask it...