Use builtin.copy function for fast copying.