Fix for the copy() script function.

Currently supporting effects only.
Partial implementation of configurable room effects.