Using copy to generate multiple variables