<?php

namespace Velis\Filesystem;

/**
 * @author Jan Małysiak <jan.malysiak@velis.pl>
 */
trait CopyTrait
{
    /**
     * {@inheritDoc}
     */
    public function copy(string $sourceKey, string $targetKey): bool
    {
        return copy($this->basePath . $sourceKey, $this->basePath . $targetKey);
    }
}
