I don’t think you will be able to get it back because you handed it over and you might get it back whenever you get an residence permit. But you can visit the immigration office and ask for a copy if you need it for something urgent.
I hope i helped.