Hi Swapna - You can try writing your custom Function to get the screen resolution (There are java methods available for these). But don't think that is recommended. Instead try updating the responsive breakpoints if yon can achieve your requirement.
I did some more research and find out that you can use "pega.u.d.setProperty" which sets the value to the input element which has the same name as the one passed to the method(as part of the propertyName parameter). And then you can trigger an action (refresh this section etc) to post the value to the clipboard.
And use this property value as visible when for the section.