If you want to copy only the schema from an sqlite database file, but not the data, this command will do the trick

1sqlite3 mydatabase.sqlite ".schema --nosys" | sqlite3 copy.sqlite