speeding ticket from out of state

I think that cop was new or something, because he asked why I was giving my license with her permit.
she could get her license before her court date and they wouldnt know she had a permit at the time.
edit: i just checked the ny dmv site, it says that people with a permit are allowed to drive in other states, they just have to follow their laws for it.