<commit_before>diff --git a/scrapy/commands/startproject.py b/scrapy/commands/startproject.py
index 5941066..89f8edb 100644
--- a/scrapy/commands/startproject.py
+++ b/scrapy/commands/startproject.py
@@ -4,7 +4,7 @@ import os
 import string
 from importlib import import_module
 from os.path import join, exists, abspath
-from shutil import ignore_patterns, move, copy2, copystat
+from shutil import ignore_patterns, move, copyfile, copystat
 
 import scrapy
 from scrapy.commands import ScrapyCommand
@@ -76,8 +76,7 @@ class Command(ScrapyCommand):
             if os.path.isdir(srcname):
                 self._copytree(srcname, dstname)
             else:
-                copy2(srcname, dstname)
-        copystat(src, dst)
+                copyfile(srcname, dstname)
 
     def run(self, args, opts):
         if len(args) not in (1, 2):
@@ -118,4 +117,3 @@ class Command(ScrapyCommand):
         _templates_base_dir = self.settings['TEMPLATES_DIR'] or \
             join(scrapy.__path__[0], 'templates')
         return join(_templates_base_dir, 'project')
-    <commit_msg>pythonPackages.scrapy: fix 1.4.0 update<commit_after>diff --git a/scrapy/commands/startproject.py b/scrapy/commands/startproject.py
index 5941066..89f8edb 100644
--- a/scrapy/commands/startproject.py
+++ b/scrapy/commands/startproject.py
@@ -4,7 +4,7 @@ import os
 import string
 from importlib import import_module
 from os.path import join, exists, abspath
-from shutil import ignore_patterns, move, copy2, copystat
+from shutil import ignore_patterns, move, copyfile, copystat
 
 import scrapy
 from scrapy.commands import ScrapyCommand
@@ -76,8 +76,7 @@ class Command(ScrapyCommand):
             if os.path.isdir(srcname):
                 self._copytree(srcname, dstname)
             else:
-                copy2(srcname, dstname)
-        copystat(src, dst)
+                copyfile(srcname, dstname)
 
     def run(self, args, opts):
         if len(args) not in (1, 2):
{'fraction_non_alphanumeric': 0.11320754716981132, 'fraction_numerical': 0.03671596124426313, 'mean_word_length': 2.9878048780487805, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6887379', 'n_tokens_mistral': 691, 'n_tokens_neox': 620, 'n_words': 155}