copy styles from $from to this

@param \AppShed\Remote\Element\Styleable $from
498949
public function copyStyles(Styleable $from)
    {
        $this->color = $from->getColor();
        $this->titleColor = $from->getTitleColor();
        $this->subtitleColor = $from->getSubtitleColor();
        $this->glowColor = $from->getGlowColor();
        $this->borderColor = $from->getBorderColor();
        $this->underline = $from->getUnderline();
        $this->size = $from->getSize();
        $this->fontFamily = $from->getFontFamily();
        $this->align = $from->getAlign();
        $this->bold = $from->getBold();
        $this->italic = $from->getItalic();
        $this->listBackground = $from->getListBackground();
        $this->galleryBackground = $from->getGalleryBackground();
        $this->iconBackground = $from->getIconBackground();
        $this->appsBackground = $from->getAppsBackground();
        $this->background = $from->getBackground();
        $this->hrAfter = $from->getHrAfter();
        $this->hrColor = $from->getHrColor();
        $this->hrWidth = $from->getHrWidth();
        $this->headerColor = $from->getHeaderColor();
        $this->headerTextColor = $from->getHeaderTextColor();
        $this->paddingTop = $from->getPaddingTop();
        $this->paddingBottom = $from->getPaddingBottom();
        $this->paddingLeft = $from->getPaddingLeft();
        $this->paddingRight = $from->getPaddingRight();
        $this->titleSize = $from->getTitleSize();
        $this->subtitleSize = $from->getSubtitleSize();
        $this->titleFont = $from->getTitleFont();
        $this->subtitleFont = $from->getSubtitleFont();
        $this->autoCompleteColor = $from->getAutoCompleteColor();
        $this->autoCompleteBackgroundColor = $from->getAutoCompleteBackgroundColor();
        $this->autoCompleteHighlightColor = $from->getAutoCompleteHighlightColor();
    }
771486
protected function fromTo($command, $from, $destination)
    {
        $folder = dirname($destination);
        if (!$this->fileExists($folder)) {
            $this->createFolder($folder);
        }

        return $this->modulable->run(sprintf('%s %s %s', $command, $from, $destination));
    }
268340
public function alias($from, $to = null)
	{
		if (is_array($from))
		{
			$this->aliases = array_merge($this->aliases, $from);

			return $this;
		}

		$this->aliases[$from] = $to;
		$this->cache->set($from, $to);
	}
1152897
public function move(int $from, int $to)
    {
        $value = $this->list[$from];

        unset($this->list[$from]);

        array_splice($this->list, $to, 0, $value);
    }
571398
public function mv(array &$array, string $from, string $to): void
    {
        // Do the moving
        $this->cp($array, $from, $to);

        // Remove the original value
        $this->rm($array, $from);
    }
837409
public function move($from, $to)
    {
        event(new Events\FileMoving($from, $to));
        $moved = $this->disk()->move($from, $to);
        event(new Events\FileMoved($from, $to, $moved));

        return $moved;
    }
622991
public function skip($from, $to)
    {
        $current = common_ext_ExtensionsManager::singleton()->getInstalledVersion($this->getExtension()->getId());
        if (version_compare($from, $current, '<=') && version_compare($current, $to, '<')) {
            $this->setVersion($to);
        }
    }
1168682
public function moveElement($from, $to): self
    {
        $array = $this->getArray();

        if (\is_int($from)) {
            $tmp = \array_splice($array, $from, 1);
            \array_splice($array, (int) $to, 0, $tmp);
            $output = $array;
        } elseif (\is_string($from)) {
            $indexToMove = \array_search($from, \array_keys($array), true);
            $itemToMove = $array[$from];
            if ($indexToMove !== false) {
                \array_splice($array, $indexToMove, 1);
            }
            $i = 0;
            $output = [];
            foreach ($array as $key => $item) {
                if ($i === $to) {
                    $output[$from] = $itemToMove;
                }
                $output[$key] = $item;
                ++$i;
            }
        } else {
            $output = [];
        }

        return static::create(
            $output,
            $this->iteratorClass,
            false
        );
    }
849545
public function moveFile( $from, $to )
	{
		$this->connection->checkConnection();
		return @ftp_rename( $this->connection->getResource(), $from, $to );
	}
1117648
protected function copy($from, $to = null)
    {
        if (is_array($from) && is_null($to)) {
            foreach ($from as $key => $value) {
                $this->copy($key, $value);
            }

            return;
        }

        if (!file_exists($from)) {
            return;
        }

        $to = $this->extensionPath($to);

        $this->filesystem->copy($from, $to);
    }
605997
public function copyFolder( $from, $to )
	{
		$this->connection->checkConnection();
		$this->createFolder( $to );
		$reader	= new Net_FTP_Reader( $this->connection );
		$list	= $reader->getList( $from, TRUE );
		foreach( $list as $entry )
		{
			if( $entry['isdir'] )
				$this->createFolder( $to."/".$entry['name'] );
			else
				$this->copyFile( $from."/".$entry['name'], $to."/".$entry['name'] );
		}
		return TRUE;
	}
1010940
public function copyHeader(ParentHeaderPart $from, ParentHeaderPart $to, $header, $default = null)
    {
        $fromHeader = $from->getHeader($header);
        $set = ($fromHeader !== null) ? $fromHeader->getRawValue() : $default;
        if ($set !== null) {
            $to->setRawHeader($header, $set);
        }
    }
365948
public function addFrom($from)
    {
        if (is_array($from)) {
            $this->from = array_merge($this->from, $from);
        } elseif (!empty($from)) {
            $this->from[str_replace(array('"','`'), '', $from)] = $from;
        }

        return $this;
    }
658885
public function copy( $from, $to )
	{
		try {
			$this->fs->copy( $from, $to );
		} catch( \Exception $e ) {
			throw new Exception( $e->getMessage(), 0, $e );
		}
	}
555995
public function setFrom($from)
    {
        if ($from === null) {
            throw new BuildException("this mapper requires a 'from' attribute");
        }

        $index = strrpos($from, '*');

        if ($index === false) {
            $this->fromPrefix = $from;
            $this->fromPostfix = "";
        } else {
            $this->fromPrefix = substr($from, 0, $index);
            $this->fromPostfix = substr($from, $index + 1);
            $this->fromContainsStar = true;
        }
        $this->prefixLength = strlen($this->fromPrefix);
        $this->postfixLength = strlen($this->fromPostfix);
    }
141710
public function rename($from, $to)
    {
        if (is_null($key = $this->search($from))) {
            return false;
        }

        $this->items[$key] = $this->getSlugFromName($to);

        return true;
    }
468963
public function renameFile( $from, $to )
	{
		$this->connection->checkConnection();
		return @ftp_rename( $this->connection->getResource(), $from, $to );
	}