save image in performance mode

is there any way to save the current screen (showing in performance mode) with a button programmed inside the interface i build?

Yes, use a OP Viewer TOP and set it to look at your output Container COMP.
Connect its output to a Movie File Out TOP, and use the button in your interface to control the Movie File Out TOP.