Use rake dsl to cp, thank @chrishunt