```php copy(__DIR__ . '/../db-ref.sqlite', $path); ``` is enough