use copy to deep clone options and file