copy has been refactored to take an options parameter instead of multiple arguments.