How would I transfer some code from one experience to another

I have two experiences with code (one is a modified version of egomooses gravity controller) and the other is a game I was working on. how would I transfer all my objects AND code to the modified version of egomoose’s gravity controller that I have.

Copy and paste, thats all thats needed to do so, also, wrong category, put this in scripting help.

How about Roblox Packages, it might be what you are looking for