Recover pattern lock of moto g3 marshmallow (unrooted phone) gesture.key (permission denied for removing, backup, copy etc.)
I don't know about this implementation specifically, but I would expect that pattern is hashed when it is stored (encrypted) - so that even if you could recover it, you would also need to de-crypt it.

Anything dealing with security will be purposely locked down, so users or apps can't abuse the system.

Even if the phone was rooted, I think you would still have problems recovering this information.