Copy with JavaScript

Guys, How can copy with Photoshop Brush Settings JavaScript?

You could probably try copying it with Alchemist running and see if you can catch it…