Copy Refactor And Save Bug Fix

Streamlined the copy code and fixed a bug with the save button.