working sinatra copy