Script Help!!!!: Copy Items into Every Users Preferences Folder

Hello, I’m new to scripting and could use some help. I’m going crazy trying to figure this out! I know I will have to run it as root to make it work.

Basically, I want to create a script that will copy the contents of a folder into every user’s preferences folder (located on a server) and keep read/write permissions of the copied items for everyone.

Please help.