diff --git a/bilby/core/sampler/emcee.py b/bilby/core/sampler/emcee.py
index d0776b5087bfda4ee867a7471a22d2d66dcc7316..2c12ee354095b81a50035ec67f18bf815ccfc12f 100644
--- a/bilby/core/sampler/emcee.py
+++ b/bilby/core/sampler/emcee.py
@@ -1,7 +1,6 @@
 import os
 import shutil
 from collections import namedtuple
-from shutil import copyfile
 
 import numpy as np
 from packaging import version