Map-editor Copy Function

Made the copy func. becuase im a code master