Copying a widget class to functions.php results on a blank page

Loading breaks because you have copied the class with the same name, and you can’t define a class with the same name twice (it was already loaded in WordPress core).

If you want to change this widget, you should copy it, change the class name, and register it as a new widget.

error code: 523